<template>
	<view class="index-box">
		<sww-search :custom-style="{ paddingBottom: '12rpx' }" @change="onSearch" historyKey="ticket_search_history">
			<view class="tab">
				<u-tabs :active-color="vuex_config.themeColor1" :bold="false" :list="tabList" bar-width="60" :gutter="20" :current="tabAct" @change="tabChange"></u-tabs>
			</view>
		</sww-search>
		<tick-list v-if="dataList && dataList[0]" :dataList="dataList"></tick-list>
		<sww-load-more :params="dataListParams" @load="$loadMore"></sww-load-more>
	</view>
</template>
<script>
import tickList from '@/pagecomponents/ticket/index.vue';
import { searchIndex } from './mixin/searchIndex.js';
export default {
	mixins: [searchIndex],
	data() {
		return {
			classType: 9,
			apiName: 'GetTicketProList',
			title:'售票'
		};
	},
	components: {
		'tick-list': tickList
	}
};
</script>
<style lang="scss" scoped>
.tab {
	padding: 20rpx;
}
</style>
